WPDiscourse\SyncDiscourseTopic\SyncDiscourseTopic S

Total Complexity 44
Dependencies 2
Dependents 1
Total lines 290
Lines of code 162
Logical lines of code 98
Comment lines 82
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
update_post_metadata()
B
44 20 38
update_topic_content()
S
49 6 30
maybe_create_db()
S
54 5 21
list_topic()
S
55 3 19
get_post_id_by_title()
S
61 3 12
get_post_ids_from_topic_id()
S
61 3 12
initialize_update_content_route()
S
59 2 17
__construct()
S
64 1 10
webhook_enabled()
S
79 1 3